import { createApp } from "vue";
import App from "./App.vue";
import "view-ui-plus/dist/styles/viewuiplus.css";
import ViewUIPlus from "view-ui-plus";
import {
  Form,
  Field,
  CellGroup,
  Cell,
  Swipe,
  SwipeCell,
  SwipeItem,
  Button,
  ConfigProvider,
  Search,
  Radio,
  RadioGroup,
  Uploader,
  Tabbar,
  Icon,
  NoticeBar,
  Popup,
  Sidebar,
  SidebarItem,
  TabbarItem,
  NavBar,
  Picker,
  Tag,
  List,
  Card,
  Tab,
  Tabs,
  Image as VanImage,
  Pagination,
} from "vant";
import router from "./router/index.js";
import "vant/lib/index.css";

const app = createApp(App);

app
  .use(router)
  .use(Pagination)
  .use(Tab)
  .use(Tabs)
  .use(Picker)
  .use(SwipeCell)
  .use(Swipe)
  .use(SwipeItem)
  .use(Sidebar)
  .use(NoticeBar)
  .use(SidebarItem)
  .use(ConfigProvider)
  .use(Search)
  .use(Card)
  .use(List)
  .use(Form)
  .use(Popup)
  .use(VanImage)
  .use(Icon)
  .use(Cell)
  .use(Radio)
  .use(NavBar)
  .use(TabbarItem)
  .use(Tabbar)
  .use(Uploader)
  .use(RadioGroup)
  .use(Field)
  .use(Button)
  .use(Tag)
  .use(CellGroup)
  .use(ViewUIPlus)
  .mount("#app");
